#include<iostream>
using namespace std;

//Lop CRectangle------------------
class CRectangle
{
protected:
	int width;
	int height;
public:
	void setValues(int a, int b);
public:
	int area();
};


//Lop CTriangle------------------------
class CTriangle
{
protected:
	int width;
	int height;
public:
	void setValues(int a, int b);
	int area();
};